Text Layout Diagnostics
data class TextLayoutDiagnostics(val overshoot: TextOvershoot, val totalLineCount: Int, val visibleLineCount: Int, val clippedLineCount: Int, val requiredHeight: Float, val fontScale: Float)
Planar text layout before strokes, effects, animations, and block transforms.
Properties
Link copied to clipboard
Lines hidden by the authored clipping setting, independent of text editing.
Link copied to clipboard
Nonnegative ink outside each frame edge, including ink of clipped lines.
Link copied to clipboard
Full layout height at the current wrap width and fitted sizes, in scene design units.
Link copied to clipboard
All laid-out lines, including lines hidden by the frame.
Link copied to clipboard
Lines visible with the authored clipping setting, independent of text editing.